SRCS = \
	MemoryPool.cc BufferPool.cc Thread.cc Mutex.cc Condition.cc \
	SignalAgent.cc RC4.cc MD5.cc File.cc Sio.cc
OBJS = $(SRCS:.cc=.o)
OUT = libxppbas.a

CXX = @CXX@
RANLIB = @RANLIB@
CFLAGS = @CFLAGS@ -I@abs_top_builddir@
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@

all: $(OBJS)
	ar cr $(OUT) $(OBJS)
	ranlib $(OUT)

clean:
	rm -rf $(OBJS) $(OUT) *.o

.SUFFIXES: .cc .o
.cc.o:
	$(CXX) $(CFLAGS) -c $<
